Current Location: Home> Function Categories> is_finite

is_finite

Determine whether it is a finite value
Name:is_finite
Category:math
Programming Language:php
One-line Description:Determine whether it is a finite value.

Definition and usage

is_finite() function determines whether it is a finite value.

Example

 <?php
echo is_finite ( 2 ) ;
echo is_finite ( log ( 0 ) ) ;
echo is_finite ( 2000 ) ;
?>

Try it yourself

grammar

 is_finite ( x )
parameter describe
x Required. Specify the value to be checked.

illustrate

Return true if x is a legal finite value in the range allowed by PHP floating point numbers on the native platform.

Similar Functions
  • Returns log(1 + number), and can calculate the exact result even when the value of number is close to zero. log1p

    log1p

    Returnslog(1+number)
  • Logarithm with base 10 log10

    log10

    Logarithmwithbase10
  • Exponential expressions pow

    pow

    Exponentialexpressio
  • Convert hexadecimal to decimal hexdec

    hexdec

    Converthexadecimalto
  • Determine whether it is a finite value is_finite

    is_finite

    Determinewhetheritis
  • Antihyperbolic tangent atanh

    atanh

    Antihyperbolictangen
  • Ancient sine asin

    asin

    Ancientsine
  • Sow the random number generator seeds srand

    srand

    Sowtherandomnumberge
Popular Articles